﻿@using Carer.View
@{
    ViewBag.Title = "客户管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div id="list" class="view">
    <div class="query">
        <ul class="tool">
            <li><button class="add btn btn-default"><span class="add"></span> 增 加</button></li>
            <li><button class="delete btn btn-default"><span class="delete"></span> 删 除</button></li>

        </ul>

        <form action="">
            <ul>
                <li><label>姓名</label><input name="Name" type="text" class="form-control" /></li>
                <li><label>身份证</label><input name="IdNo" type="text" class="form-control" /></li>
                <li><label>电话</label><input name="Tel" type="text" class="form-control" /></li>
                <li><button class="query btn btn-primary"><i class="fa fa-search fa-lg"></i> 查 询</button></li>
            </ul>
        </form>
    </div>

    <div class="list">
        <table class="list">
            <thead>
                <tr>
                    <th><input class="selall" type="checkbox" /></th>
                    <th>姓名</th>
                    <th>性别</th>
                    <th>身份证</th>
                    <th>电话</th>
                    <th>住址</th>
                    <th>联系人</th>
                    <th class="action">操作</th>
                </tr>
            </thead>
            <tbody></tbody>
        </table>
    </div>
    <div class="jpager"></div>
</div>
<div id="edit" class="view edit">
    <div class="title"><span>客户信息</span></div>
    <form id="editForm" action="">
        <input class="Id" name="Id" type="hidden" />
        <table>
            <tr>
                <td class="title"><font color="red">*</font> 姓名：</td>
                <td class="content"><input name="Name" class="Name form-control" type="text" /></td>
                <td class="title"> 身份证：</td>
                <td class="content"><input name="IdNo" type="text" class="IdNo form-control" /></td>
            </tr>
            <tr>
                <td class="title">性别：</td>
                <td class="content">
                    <select name="Gender" class="Gender form-control">
                        <option>无</option>
                        <option>男</option>
                        <option>女</option>
                    </select>
                </td>
                <td class="title">出生日期：</td>
                <td class="content"><input name="Birthday" type="text" class="Birthday form-control" /></td>
            </tr>
            <tr>
                <td class="title">电话：</td>
                <td class="content"><input name="Tel" type="text" class="Tel form-control" /></td>
                <td class="title">住址：</td>
                <td class="content"><input name="Addr" type="text" class="Addr form-control" /></td>
            </tr>
            <tr>
                <td class="title">婴儿性别：</td>
                <td class="content">
                    <select name="BabyGender" class="BabyGender form-control">
                        <option>无</option>
                        <option>男</option>
                        <option>女</option>
                    </select>
                </td>
                <td class="title">婴儿体重：</td>
                <td class="content"><input name="BabyWeight" type="text" class="BabyWeight form-control" /></td>
            </tr>
            <tr>
                <td class="title">婴儿出生：</td>
                <td class="content"><input name="BabyBirth" type="text" class="BabyBirth form-control" /></td>
                <td class="title">联系人：</td>
                <td class="content"><input name="Contact" type="text" class="BabyContact form-control" /></td>
            </tr>
            <tr>
                <td class="title">联系人电话：</td>
                <td class="content"><input name="ContactTel" type="text" class="ContactTel form-control" /></td>
                <td class="title">联系人关系：</td>
                <td class="content"><input name="ContactRel" type="text" class="ContactRel form-control" /></td>
            </tr>
        </table>
        <p class="submit">
            <button class="save btn btn-success" type="submit"><i class="fa fa-save fa-lg"></i> 保 存</button>
            <button class="cancel btn btn-danger"><i class="fa fa-close fa-lg"></i> 取 消</button>
        </p>
    </form>
</div>

@section Scripts {
    @Scripts.Render("~/Content/Common/util.js?v=" + MvcApplication.TimeStamp)
    @Scripts.Render("~/Content/Business/customer.js?v=" + MvcApplication.TimeStamp)
}